package model

type User struct {
	Id       uint   `gorm:"column:id;type:bigint UNSIGNED;primaryKey;not null;" json:"id"`
	Account  string `gorm:"column:account;type:varchar(30);not null;" json:"account"`
	Password string `gorm:"column:password;type:char(32);not null;" json:"password"`
}

func (u *User) TableName() string {
	return "user"
}
